home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be004.dxr / 00066.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  490 b   |  21 lines

  1. on exitFrame
  2.   set the locV of sprite 13 to the locV of sprite 13 + random(5)
  3.   set the locV of sprite 13 to the locV of sprite 13 - random(5)
  4.   if sprite 13 intersects sprite(14) then
  5.     set the locV of sprite 13 to the locV of sprite 13 - 2
  6.   end if
  7.   if sprite 13 intersects sprite(15) then
  8.     set the locV of sprite 13 to the locV of sprite 13 + 2
  9.   end if
  10.   if the timer < 900 then
  11.     go(the frame)
  12.   else
  13.     go(the frame + 1)
  14.   end if
  15.   go(the frame)
  16. end
  17.  
  18. on mouseUp
  19.   go(80)
  20. end
  21.